package com.qijian.maindata.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.qijian.common.utils.DateUtils;
import com.qijian.maindata.domain.query.BomMaterialPreDetailQuery;
import org.springframework.beans.factory.annotation.Autowired;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import com.qijian.maindata.mapper.BomMaterialPreDetailMapper;
import com.qijian.maindata.domain.BomMaterialPreDetail;
import com.qijian.maindata.service.IBomMaterialPreDetailService;

/**
 * 生产BOM用料预算明细Service业务层处理
 *
 * @author qijian
 * @date 2022-05-17
 */
@Service
@RequiredArgsConstructor
public class BomMaterialPreDetailServiceImpl extends ServiceImpl<BomMaterialPreDetailMapper, BomMaterialPreDetail> implements IBomMaterialPreDetailService {

    private final BomMaterialPreDetailMapper bomMaterialPreDetailMapper;

    @Override
    public List<BomMaterialPreDetail> selectCostByProject(QueryWrapper<BomMaterialPreDetailQuery> queryWrapper) {
        return bomMaterialPreDetailMapper.selectCostByProject(queryWrapper);
    }
}
